<?php 
class CaptchaController extends Zend_Controller_Action {
	
	public function init() {
		/* Initialize action controller here */
	}

	public function indexAction() {
        $this->getResponse()->setHeader('Content-type', 'image/gif');
		$this->_helper->layout->disableLayout();
		$captcha = new Utils_Captcha($this->_getParam('type'), $this->_getParam('stringLength'), $this->_getParam('sizeFont'), $this->_getParam('id'));
		$captcha->getImage();
	}


}

